﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Wpf.Telemetry.TelemetryService;

namespace Wpf.Telemetry
{
    public class WebServiceTelemetryReporter : TelemetrySoapClient, ITelemetryReporter
    {
        void ITelemetryReporter.ReportFeatureUsage(Wpf.Telemetry.TelemetryService.ApplicationInformation appInfo, Wpf.Telemetry.TelemetryService.SystemInformation systemInfo, List<Wpf.Telemetry.TelemetryService.FeatureUsage> featureUsage)
        {
            this.ReportFeatureUsage(appInfo, systemInfo, featureUsage);
        }

        void ITelemetryReporter.ReportException(Wpf.Telemetry.TelemetryService.SystemInformation systemInfo, Wpf.Telemetry.TelemetryService.ExceptionInformation exceptionInfo)
        {
            this.ReportException(systemInfo, exceptionInfo);
        }
    }
}
